Description: 自然计算中遗传算法的各个程序,matlab环境下开发的源代码。best.m 求种群中适应度最大的值
calfitvalue.m 计算每个个体的适应度
calobjvalue.m 适应度函数
crossover.m 交叉变换
decodebinary.m 将二进制数转换成十进制数
decodechrom.m 将二进制数转换成十进制数
initpop.m 产生初始种群
mutation.m 变异
selection.m 选择合适的个体进行复制
main.m 主函数
-Nature of each genetic algorithm calculation procedures, matlab environment with source code. best.m find the largest population in the fitness value of calfitvalue.m calculated for each individual' s fitness calobjvalue.m fitness function crossover.m cross-conversion decodebinary.m Converts a binary number into decimal number decodechrom.m Converts a binary number into decimal number initpop.m generate initial population mutation.m variation selection.m select the appropriate individual to copy main.m primary function Platform: |
Size: 3072 |
Author:王芳 |
Hits:
Description: 用遗传算法实现函数最优化问题,程序源代码,包括适应度函数,选择,交叉,变异等函数文件。-Using genetic algorithm to realize the function optimization problem, the program source code, including the fitness function, selection, crossover, mutation function such as file Platform: |
Size: 6144 |
Author:yuanyuan |
Hits: